<template>
  <div class="error-wrap">
    <div class="error-list clearfix bbi bg-white" v-for="(item,index) in errorList">
      <span class="number fl">{{index + 1}}</span>
      <div class="error-detail fl">
        <div class="error-name">{{item.name}} <span class="nanyi mr5">{{item.nanyi}}</span><span class="kaodian">{{item.kaodian}}</span></div>
        <div class="error-des mt10">{{item.des}}</div>
      </div>
      <span class="error-more fr"><i class="iconfont xzy-icon-enter"></i></span>
    </div>
  </div>
</template>

<script>
  // import HeaderComponent from '@/components/header.vue'
  export default {
    data () {
      return {
        errorList: [
          {
            name: '负数',
            nanyi: '易',
            kaodian: '必考点',
            des: '负数的四则运算'
          }, {
            name: '负数',
            nanyi: '易',
            kaodian: '必考点',
            des: '负数的四则运算'
          }, {
            name: '负数',
            nanyi: '易',
            kaodian: '必考点',
            des: '负数的四则运算'
          }
        ]
      }
    },
    components: {
      // HeaderComponent
    }
  }
</script>

<style lang="less" rel="stylesheet/less">
  @import '../assets/less/_mixins-wln.less';
  .error-wrap{
    .error-list{
      padding:19px 15px;
      background-position: 15px bottom;
      .number{
        font-size: 17px;
        color: @grey;
        line-height: 39px;
      }
      .error-detail{
        margin-left: 50px;
        .error-name{
          font-size: 14px;
          color: @grey;
          .nanyi,.kaodian{
            line-height: 100%;
            font-size: 10px;
            padding:1px 4px;
            border:1px solid #ccc;
            border-radius: 5px;
          }
          .nanyi{
            border-color: @primary;
            color: @primary;
          }
          .kaodian{
            border-color: #ff5100;
            color: #ff5100;
          }
        }
        .error-des{
          font-size: 12px;
          color: #94999f;
        }
      }
      .error-more{
        line-height: 39px;
      }
    }
  }
</style>
